package com.caojing.haolemai.ui.homedetail;

import com.caojing.haolemai.base.IBaseModel;
import com.caojing.haolemai.base.IBasePresenter;
import com.caojing.haolemai.base.IBaseView;
import com.caojing.haolemai.bean.ContentBean;
import com.caojing.haolemai.httputils.HttpUtils;

import java.util.HashMap;

/**
 * Created by CaoJing on 2016/10/18.
 */
public class HomeDetailContract {

    public interface Model extends IBaseModel{
        void getContentBean(String path, HashMap<String,String> params, HttpUtils.HttpCallBack<ContentBean> contentBeanHttpCallBack);
    }
    public interface View extends IBaseView{
        void onSuccessGetContentBean(ContentBean contentBean);
        void onFailGetContentBean(String msg);
    }
    public interface presenter extends IBasePresenter{
        void initData(String path,HashMap<String,String> params);
    }
}
